package com.clei.dto.file;

/**
 * 文件名信息
 *
 * @author Y
 * @date 2023-10-07
 **/
public class FileName {
    /**
     * 文件名
     */
    private final String name;

    /**
     * 文件名 不包含后缀
     */
    private final String simpleName;

    /**
     * 后缀名
     */
    private final String suffix;

    /**
     * 父目录
     */
    private final String parent;

    /**
     * 文件全名 包含路径
     */
    private final String fullName;

    public FileName(String name, String simpleName, String suffix, String parent, String fullName) {
        this.name = name;
        this.simpleName = simpleName;
        this.suffix = suffix;
        this.parent = parent;
        this.fullName = fullName;
    }

    public String getName() {
        return name;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public String getSuffix() {
        return suffix;
    }

    public String getParent() {
        return parent;
    }

    public String getFullName() {
        return fullName;
    }
}
